package com.da.web.school_student.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.da.web.school_student.entity.SchoolStudent;
import com.da.web.school_student.entity.StuParm;

/**
 * @author da
 * @time 2023/12/6 下午 3:00
 */
public interface SchoolStudentService extends IService<SchoolStudent> {
    SchoolStudent getStuById(Long stuId);

    IPage<SchoolStudent> getList(StuParm parm);

    // 新增学生
    void addStu(SchoolStudent schoolStudent);

    //编辑学生
    void editStu(SchoolStudent schoolStudent);

    // 删除学生
    void deleteStu(Long stuId);

    //查询学生信息
    SchoolStudent getById(Long stuId);
}
